Optimal. Leaf size=217 \[ -\frac{2 d^3 \sqrt{d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^4}+\frac{2 d^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{e^4}-\frac{6 d (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^4}+\frac{2 (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^4}+\frac{64 b d^3 n \sqrt{d+e x}}{35 e^4}-\frac{76 b d^2 n (d+e x)^{3/2}}{105 e^4}-\frac{64 b d^{7/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right )}{35 e^4}+\frac{64 b d n (d+e x)^{5/2}}{175 e^4}-\frac{4 b n (d+e x)^{7/2}}{49 e^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.203931, antiderivative size = 217, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.304, Rules used = {43, 2350, 12, 1620, 50, 63, 208} \[ -\frac{2 d^3 \sqrt{d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^4}+\frac{2 d^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{e^4}-\frac{6 d (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^4}+\frac{2 (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^4}+\frac{64 b d^3 n \sqrt{d+e x}}{35 e^4}-\frac{76 b d^2 n (d+e x)^{3/2}}{105 e^4}-\frac{64 b d^{7/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right )}{35 e^4}+\frac{64 b d n (d+e x)^{5/2}}{175 e^4}-\frac{4 b n (d+e x)^{7/2}}{49 e^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 2350
Rule 12
Rule 1620
Rule 50
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{x^3 \left (a+b \log \left (c x^n\right )\right )}{\sqrt{d+e x}} \, dx &=-\frac{2 d^3 \sqrt{d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^4}+\frac{2 d^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{e^4}-\frac{6 d (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^4}+\frac{2 (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^4}-(b n) \int \frac{2 \sqrt{d+e x} \left (-16 d^3+8 d^2 e x-6 d e^2 x^2+5 e^3 x^3\right )}{35 e^4 x} \, dx\\ &=-\frac{2 d^3 \sqrt{d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^4}+\frac{2 d^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{e^4}-\frac{6 d (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^4}+\frac{2 (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^4}-\frac{(2 b n) \int \frac{\sqrt{d+e x} \left (-16 d^3+8 d^2 e x-6 d e^2 x^2+5 e^3 x^3\right )}{x} \, dx}{35 e^4}\\ &=-\frac{2 d^3 \sqrt{d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^4}+\frac{2 d^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{e^4}-\frac{6 d (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^4}+\frac{2 (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^4}-\frac{(2 b n) \int \left (19 d^2 e \sqrt{d+e x}-\frac{16 d^3 \sqrt{d+e x}}{x}-16 d e (d+e x)^{3/2}+5 e (d+e x)^{5/2}\right ) \, dx}{35 e^4}\\ &=-\frac{76 b d^2 n (d+e x)^{3/2}}{105 e^4}+\frac{64 b d n (d+e x)^{5/2}}{175 e^4}-\frac{4 b n (d+e x)^{7/2}}{49 e^4}-\frac{2 d^3 \sqrt{d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^4}+\frac{2 d^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{e^4}-\frac{6 d (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^4}+\frac{2 (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^4}+\frac{\left (32 b d^3 n\right ) \int \frac{\sqrt{d+e x}}{x} \, dx}{35 e^4}\\ &=\frac{64 b d^3 n \sqrt{d+e x}}{35 e^4}-\frac{76 b d^2 n (d+e x)^{3/2}}{105 e^4}+\frac{64 b d n (d+e x)^{5/2}}{175 e^4}-\frac{4 b n (d+e x)^{7/2}}{49 e^4}-\frac{2 d^3 \sqrt{d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^4}+\frac{2 d^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{e^4}-\frac{6 d (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^4}+\frac{2 (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^4}+\frac{\left (32 b d^4 n\right ) \int \frac{1}{x \sqrt{d+e x}} \, dx}{35 e^4}\\ &=\frac{64 b d^3 n \sqrt{d+e x}}{35 e^4}-\frac{76 b d^2 n (d+e x)^{3/2}}{105 e^4}+\frac{64 b d n (d+e x)^{5/2}}{175 e^4}-\frac{4 b n (d+e x)^{7/2}}{49 e^4}-\frac{2 d^3 \sqrt{d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^4}+\frac{2 d^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{e^4}-\frac{6 d (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^4}+\frac{2 (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^4}+\frac{\left (64 b d^4 n\right ) \operatorname{Subst}\left (\int \frac{1}{-\frac{d}{e}+\frac{x^2}{e}} \, dx,x,\sqrt{d+e x}\right )}{35 e^5}\\ &=\frac{64 b d^3 n \sqrt{d+e x}}{35 e^4}-\frac{76 b d^2 n (d+e x)^{3/2}}{105 e^4}+\frac{64 b d n (d+e x)^{5/2}}{175 e^4}-\frac{4 b n (d+e x)^{7/2}}{49 e^4}-\frac{64 b d^{7/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right )}{35 e^4}-\frac{2 d^3 \sqrt{d+e x} \left (a+b \log \left (c x^n\right )\right )}{e^4}+\frac{2 d^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right )}{e^4}-\frac{6 d (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^4}+\frac{2 (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^4}\\ \end{align*}
Mathematica [A] time = 0.219337, size = 150, normalized size = 0.69 \[ -\frac{2 \left (\sqrt{d+e x} \left (105 a \left (-8 d^2 e x+16 d^3+6 d e^2 x^2-5 e^3 x^3\right )+105 b \left (-8 d^2 e x+16 d^3+6 d e^2 x^2-5 e^3 x^3\right ) \log \left (c x^n\right )+2 b n \left (218 d^2 e x-1276 d^3-111 d e^2 x^2+75 e^3 x^3\right )\right )+3360 b d^{7/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right )\right )}{3675 e^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.605, size = 0, normalized size = 0. \begin{align*} \int{{x}^{3} \left ( a+b\ln \left ( c{x}^{n} \right ) \right ){\frac{1}{\sqrt{ex+d}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.47126, size = 990, normalized size = 4.56 \begin{align*} \left [\frac{2 \,{\left (1680 \, b d^{\frac{7}{2}} n \log \left (\frac{e x - 2 \, \sqrt{e x + d} \sqrt{d} + 2 \, d}{x}\right ) +{\left (2552 \, b d^{3} n - 1680 \, a d^{3} - 75 \,{\left (2 \, b e^{3} n - 7 \, a e^{3}\right )} x^{3} + 6 \,{\left (37 \, b d e^{2} n - 105 \, a d e^{2}\right )} x^{2} - 4 \,{\left (109 \, b d^{2} e n - 210 \, a d^{2} e\right )} x + 105 \,{\left (5 \, b e^{3} x^{3} - 6 \, b d e^{2} x^{2} + 8 \, b d^{2} e x - 16 \, b d^{3}\right )} \log \left (c\right ) + 105 \,{\left (5 \, b e^{3} n x^{3} - 6 \, b d e^{2} n x^{2} + 8 \, b d^{2} e n x - 16 \, b d^{3} n\right )} \log \left (x\right )\right )} \sqrt{e x + d}\right )}}{3675 \, e^{4}}, \frac{2 \,{\left (3360 \, b \sqrt{-d} d^{3} n \arctan \left (\frac{\sqrt{e x + d} \sqrt{-d}}{d}\right ) +{\left (2552 \, b d^{3} n - 1680 \, a d^{3} - 75 \,{\left (2 \, b e^{3} n - 7 \, a e^{3}\right )} x^{3} + 6 \,{\left (37 \, b d e^{2} n - 105 \, a d e^{2}\right )} x^{2} - 4 \,{\left (109 \, b d^{2} e n - 210 \, a d^{2} e\right )} x + 105 \,{\left (5 \, b e^{3} x^{3} - 6 \, b d e^{2} x^{2} + 8 \, b d^{2} e x - 16 \, b d^{3}\right )} \log \left (c\right ) + 105 \,{\left (5 \, b e^{3} n x^{3} - 6 \, b d e^{2} n x^{2} + 8 \, b d^{2} e n x - 16 \, b d^{3} n\right )} \log \left (x\right )\right )} \sqrt{e x + d}\right )}}{3675 \, e^{4}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left (c x^{n}\right ) + a\right )} x^{3}}{\sqrt{e x + d}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]